package com.example.demo3.Service;

import com.example.demo3.Entity.ClassInfo;
import com.example.demo3.Entity.StudentInfo;
import com.example.demo3.Mapper.ClassInfoMapper;
import com.example.demo3.Mapper.StudentInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@Service
public class ClassInfoServiceImpl implements ClassInfoService{

    @Autowired
    private ClassInfoMapper classInfoMapper;

    @Autowired
    private StudentInfoMapper studentInfoMapper;

    @Override
    public List<ClassInfo> getClassInfo() {
        return  classInfoMapper.getClassInfo();
    }


}
